﻿using FluentNHibernate.Mapping;
using Messenia.Data.Models;

namespace Messenia.Data.Hibernate.Map {
    public class ProjectGroupMap: ClassMap<ProjectGroup> {
        public ProjectGroupMap() {
            Table("projectgroups");
            Id(x => x.GroupProjectId );
            References(x => x.Group );
            References(x => x.Project);
        }
    }
}
